<?php if(!empty($_GET['act']) && ($_GET['act'] == 'user_info')):?>
    <div class="row">
        <h2><b>个人信息修改</b></h2>
    </div>
    <div class="form mt20">
        <form class="form-validate form-horizontal " id="register_form" method="post" action="<?php echo ROOT_URL?>com/buydo.php?act=update_userinfo">
            <input type="hidden" name="id" value="<?php echo $user_info['id']?>">
            <div class="form-group ">
                <label for="name" class="control-label col-lg-2">姓名 <span class="required">*</span></label>
                <div class="col-lg-10">
                    <input class=" form-control" id="name" name="name" type="text" value="<?php echo $user_info['name']?>"/>
                </div>
            </div>
            <div class="form-group ">
                <label for="tel" class="control-label col-lg-2">手机号 <span class="required">*</span></label>
                <div class="col-lg-10">
                    <input class="form-control " id="tel" name="tel" type="text" value="<?php echo $user_info['tel']?>"/>
                </div>
            </div>
            <div class="form-group ">
                <label for="email" class="control-label col-lg-2">邮件 <span class="required">*</span></label>
                <div class="col-lg-10">
                    <input class="form-control " id="email" name="email" type="email" value="<?php echo $user_info['email']?>"/>
                </div>
            </div>
            <div class="form-group">
                <div class="pull-right">
                    <button class="btn btn-danger" type="submit">提交</button>
                </div>
            </div>
        </form>
    </div>
<?php endif;?>